from x_class import XClass


class YClass:
    def f(self, x: XClass):
        print(x.value)
